package com.haiyan.demo14_模板设计模式案例;

public class Test {
    public static void main(String[] args) {
        OldDriver d1=new OldDriver();
        d1.go();
        System.out.println("-------------------");
        NewDriver d2=new NewDriver();
        d2.go();
    }
}
